<?php include('actions/admin_auth.php') ?>
<?php include('includes/start.php'); ?>

<h2>Add Employee</h2>
<?php 
	if (isset($_GET['err']))  echo "<div id='err'>" . $_GET['err'] . "</div>";
	if (isset($_GET['msg']))  echo "<div id='msg'>" . $_GET['msg'] . "</div>";
?>
<form id='std_padding' action='actions/add_employee.php' method='POST'>
	<table>
		<tr>
			<td>Name: </td><td><input type="text" name="name" /></td>
		</tr>
		<tr>
			<td>Email: </td><td><input type="text" name="email" /></td>
		</tr>
		<tr>
			<td>Password: </td><td><input type="password" name="password" /></td>
		</tr>
		<tr>
			<td>Privileges: </td>
			<td>
				<select name="privilege">
					<option value="0">All</option>
				</select>
			</td>
		</tr>
		<tr>
			<td colspan='2'>&nbsp;&nbsp<input type="submit" value="Add" />&nbsp;&nbsp;<input type="reset" value="Clear" /></td>
		</tr>
	</table>
</form>

<?php include('includes/stop.php'); ?>
